package com.zhuojy.equity.mall.admin.common.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuojy.equity.mall.admin.common.annotation.ExcelExport;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author:LYL
 * @Date 2024/4/16 10:24
 * 招聘表导出
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PositionMessageEntity implements Serializable {
    private static final long serialVersionUID = 3993539513843320302L;
    @TableId(value = "id",type = IdType.AUTO)
    @ExcelExport(value = "审核ID", sort = 1)
    private Long id;
    @ExcelExport(value = "职位名称", sort = 2)
    private String positionName;
    @ExcelExport(value = "地址", sort = 3)
    private String workplace;
    @ExcelExport(value = "专业", sort = 4)
    private String major;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelExport(value = "计划启动日期", sort = 5)
    private Date startupDate;
}
